/**
 * 
 */
package com.ofek.eventos.net.lks;

/**
 * @author Ofek
 *
 */
public class HashMap<K, V> implements IMap<K, V> {
	private final HashMap<K, V> hashMap = new HashMap<>();

	/* (non-Javadoc)
	 * @see com.ofek.eventos.net.lks.IMap#values()
	 */
	@Override
	public Iterable<V> values() {
		return hashMap.values();
	}

	/* (non-Javadoc)
	 * @see com.ofek.eventos.net.lks.IMap#remove(java.lang.Object)
	 */
	@Override
	public V remove(final K key) {
		return hashMap.remove(key);
	}

	/* (non-Javadoc)
	 * @see com.ofek.eventos.net.lks.IMap#put(java.lang.Object, java.lang.Object)
	 */
	@Override
	public V put(final K key, final V newValue) {
		return hashMap.put(key, newValue);
	}

	/* (non-Javadoc)
	 * @see com.ofek.eventos.net.lks.IMap#get(java.lang.Object)
	 */
	@Override
	public V get(final K key) {
		return hashMap.get(key);
	}

}
